From: Carlos Soriano Date: Mon, 19 Aug 2013 15:01:45 +0000 (+0200) Subject: appDisplay: Start always at scroll 0 on FolderView X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3540 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6ef775390f6b9ea38f99334d696d913952c75213;p=gnome-shell.git appDisplay: Start always at scroll 0 on FolderView Reset the scroll adjustment between popups opennings, following the same design we want to the AllView https://bugzilla.gnome.org/show_bug.cgi?id=706081 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 4ded09cfc..bd2e15de4 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -960,6 +960,7 @@ const FolderIcon = new Lang.Class({ function() { this._ensurePopup(); this._popup.toggle(); + this.view.actor.vscroll.adjustment.value = 0; })); this.actor.connect('notify::mapped', Lang.bind(this, function() {